/*
 * File      : bb_atom.h
 * This file is part of Black Bird Simulation Platform
 * Copyright 2013-2020 BB(Black Bird) Development Team.  
 * All rights reserved.
 *
 * Change Logs:
 * Date           Author       Notes
 * 2013-10-25     Holt         First Version
 */
#ifndef __BB_STACK_INCLUDE__
#define __BB_STACK_INCLUDE__
#include "bb_type.h"

#define MAX_BASKET_LEN		2048

struct bb_atom
{
	struct bb_atom *next;
	bb_base		len;
	char*		str;
};
typedef struct bb_atom*	bb_atom_t;

extern bb_base bb_atom_len(const char * str);
extern const char *bb_atom_new(const char *str,bb_base len);
extern const char *bb_atom_string(const char *str);
extern const char *bb_atom_int(long n);
#endif